#include "Server.h"

int main()
{
	Server s;
	s.listen(9999);
	s.numthreads(1);
	s.start();
	for (;;)
	{
		Client * new_client = new Client();
		s.accept(new_client);
		new_client->threadobject(new_client->river(), new_client, &s);
		new_client->start();
	}
}